package com.yunxi.model.market;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 市场活动主表
 * </p>
 *
 * @author 
 * @since 2019-08-17
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_market_activity")
@ApiModel(value="MarketActivity对象", description="市场活动主表")
public class MarketActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ACTIVITY_ID", type = IdType.UUID)
    private String activityId;

    @ApiModelProperty(value = "活动编号")
    @TableField("ACTIVITY_CODE")
    private String activityCode;

    @ApiModelProperty(value = "活动名称")
    @TableField("ACTIVITY_NAME")
    private String activityName;

    @ApiModelProperty(value = "预估总费用")
    @TableField("TOTAL_COST")
    private BigDecimal totalCost;

    @ApiModelProperty(value = "实际总费用")
    @TableField("REAL_TOTAL_COST")
    private BigDecimal realTotalCost;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private Integer auditStatus;

    @ApiModelProperty(value = "渠道商代码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商名称")
    @TableField("PARTNER_NAME")
    private String partnerName;

    @ApiModelProperty(value = "活动地点")
    @TableField("LOCATION")
    private String location;

    @ApiModelProperty(value = "活动人数")
    @TableField("NUM")
    private Integer num;

    @ApiModelProperty(value = "活动设备")
    @TableField("ACTIVITY_DEVICE")
    private String activityDevice;

    @ApiModelProperty(value = "活动内容")
    @TableField("ACTIVITY_CONTENT")
    private String activityContent;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "启用或禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "创建方 0表示渠道商 1表示主机厂")
    @TableField("CREATE_TYPE")
    private Integer createType;

    @ApiModelProperty(value = "驳回原因")
    @TableField("REJECT_INFO")
    private String rejectInfo;

    @ApiModelProperty(value = "审核时间")
    @TableField("AUDIT_DATE")
    private Date auditDate;

    @ApiModelProperty(value = "审核人")
    @TableField("AUDIT_BY")
    private String auditBy;

    @ApiModelProperty(value = "活动开始时间")
    @TableField("BEGIN_DATE")
    private Date beginDate;


    @ApiModelProperty(value = "活动结束时间")
    @TableField("END_DATE")
    private Date endDate;

    @ApiModelProperty(value = "活动结果描述")
    @TableField("RESULT_CONTENT")
    private String resultContent;

    @ApiModelProperty(value = "区域")
    @TableField("AREA")
    private String area;

    @ApiModelProperty(value = "区域")
    @TableField("AREA_NAME")
    private String areaName;
}
